{% extends "basis.html" %}

{% block content %}
<form action="/login" method="POST">{% csrf_token %}
    {{ auth_form.as_p }}
    <input type="submit" id="BtnLogin" value="Login">
</form>

{% if auth_form.non_field_errors or user_form.non_field_errors %}
    <div class="error">
    {{ auth_form.non_field_errors }}
    {{ user_form.non_field_errors }}
    </div>
{% endif %}
<div class="right">
<h1>Signup for the City Trip Planner!</h1>
<p>
<form action="/signup" method="POST">{% csrf_token %}
    {{ user_form.as_ul }}
<input type="SUBMIT" value="Sign Up">
</form>
</p>
</div>
{% endblock %}

